<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<table>
<c:forEach items="${tbkcData}" var = "c">
	<tr>
		<input type="hidden" value="${c.id}" class="id" >
		<td width="120px"><input type="text" class="layui-input lessdate startdata" value="${c.startdata}" name="startdata" style="width:120px"></td>
		<td width="180px"><input type="text" class="layui-input test finishtime" value="${c.finishtime}" name = "finishtime"></td>
		<td>
			<select class = "curriculum" lay-verify="required"
					lay-search>
				<c:forEach items="${kc}" var = "a">
					<option value="${a.id}" <c:if test='${c.curriculum.id == a.id}'>selected</c:if>>${a.courseName}(${a.teacher.name})</option>
				</c:forEach>
			</select>
		</td>
		<%-- <td width="150px">
			<input type="text" class="layui-input" value="${c.rs}" name = "rs">
			<select class = "teacher" lay-verify="required"
					lay-search>
				<c:forEach items="${teacher}" var = "a">
					<option value="${a.id}" <c:if test='${c.teacher.id == a.id}'>selected</c:if>>${a.name}</option>
				</c:forEach>
			</select>
		</td> --%>
		<td><i class="layui-icon layui-icon-close-fill" style="font-size:30px;color:#FF5722;cursor:pointer" onclick="delRow(this)"></i></td>
	</tr> 
</c:forEach>
</table>
